* {
    margin: 0;
    padding: 0;
  }
  
  li {
    list-style: none;
  }
  
  img {
    display: block;
  }
  
  a {
    text-decoration: none;
  }
  body,
  html {
    background-color: #f6f6f6;
  }
  header {
    width: 100%;
    height: 140px;
  }
  
  .hea_top {
    height: 40px;
    background-color: #000;
    // position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
  }
  .hea_top .left {
    margin-left: 10px;
  }
  .hea_top .left a {
    display: block;
    color: #fff;
    font-size: 14px;
    padding: 0 10px;
  }
  .hea_top .left li {
    float: left;
    line-height: 40px;
  }
  .hea_top .left li:nth-of-type(4) a{

    color: red;
    font-size: 16px;

  }
  .hea_top .right {
    margin-right: 10px;
  }
  .hea_top .right a {
    display: block;
    color: #fff;
    font-size: 14px;
    padding: 0 10px;
  }
  .hea_top .right li {
    float: right;
    line-height: 40px;
  }.hea_nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 20px;
    height: 50px;
    background-color: #fff;
    // position: sticky;
    z-index: 998;
    top: 40px;
  }
  
  .hea_nav .log img {
    width: 200px;
    height: 45px;
  }
  .hea_list ul li {
    float: left;
    margin-left: 35px;
    line-height: 50px;
  }
  .hea_list ul li a {
    color: #000;
  }
  .hea_list ul li a:hover {
    color: red;
  }
  .hea_input {
    position: relative;
    left: -25px;
    top: -2px;
  }
  .hea_input img {
    position: absolute;
    top: 10px;
    left: 144px;
    cursor: pointer;
  }
  .hea_input input {
    display: inline-block;
    height: 32px;
    width: 170px;
    margin: 8px;
    padding-left: 10px;
    padding-top: 5px;
    border-radius: 18px;
    border: 0px;
    background-color: #f6f6f6;
    font-size: 18px;
    // color: #e0e0e0;
    color: #000;
    outline: none;
  }
  .hea_input input::placeholder {
    font-size: 15px;
    color: #e0e0e0;
  }

  .container{
    width: 1000px;
    padding-top: 300px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    // background-color: gray;
}
// .container::after{
//     content: "";
//     display: block;
//     clear: both;
//     overflow: hidden;
// }
.goods{
    width: 184px;
    float: left;
    margin-right: 20px;
}
.container a:nth-of-type(5n) .goods{
    margin-right: 0;
}
.goods img{
    width: 100%;
    height: 150px;
}
.goods h1,h2{
    font-size: 16px;
    line-height: 30px;
    padding: 2px 5px;
}
.goods h1{
    overflow: hidden;
    -webkit-line-clamp: 1; 
    -webkit-box-orient: vertical;
    display: -webkit-box;
}
.goods h2{
    color: red;
}
#pagination{
    width: 100%;
    display:flex;
    justify-content: center;
}
#pagination li{
    width: 20px;
    height: 20px;
    margin-bottom: 5px;
    text-align: center;
    background-color: salmon;
    margin-left: 20px;
    cursor: pointer;
}
center{

    height: 60px;
    // background-color: green;
    margin-bottom: 10px;
}
.head{

    text-align: center;
    line-height: 60px;
    margin-top: -10px;
}
.head img{

  width: 1280px;
  margin: auto;
  cursor:pointer;

}
.container a{

  color: #000;

}